
                    <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                        <div class="table-responsive">
                            <table class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>订单编号</th>
                                    <th>收货人</th>
                                    <th>总金额</th>      
                                    <th>应付金额</th>
                                    <th>订单状态</th>
                                    <th>支付状态</th>
                                    <th>发货状态</th>
                                    <th style="display:none;">支付方式</th>
                                    <th style="display:none;">配送方式</th>
                                    <th>下单时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="orderList" id="list"}
                                    <tr>
                                        <td>
                                            {$list.order_id}
                                        </td>
                                        <td>{$list.order_sn}</td>
                                        <td>{$list.consignee}:{$list.mobile}</td>
                                        <td>{$list.total_amount}</td>
                                        <td>{$list.order_amount}</td>
                                        <td>
                                            {if $list['order_status'] == 2 }
                                                已取消
                                            {elseif $list['order_status'] == 1 /}
                                                已完成
                                            {else /}
                                                未完成
                                            {/if}
                                        </td>
                                        <td>{if $list['pay_status'] == 1}已支付{else/}未支付{/if}</td>
                                        <td>{if $list['shipping_status'] == 1}已发货{elseif $list['shipping_status'] == 0/}未发货{else/}已收货{/if}</td>
                                        <td style="display:none;">{$list.pay_name}</td>
                                        <td style="display:none;">{$list.shipping_name}</td>
                                        <td>{$list.add_time|date='Y-m-d H:i:s'}</td>
                                        <td>
                                            <a href="javascript:;" title="" class="btn btn-primary" onclick="openYemian('{:url('order/detail',array('order_id'=>$list['order_id']))}','查看')"><i class="fa fa-eye"></i></a>
                                            {if $list['order_status'] == 2 or $list['order_status'] == 1}
                                                <a href="javascript:void(0)" onclick="delHtml(this,'{$list[order_id]}')" title="删除" class="btn btn-danger"><i class="fa fa-trash-o"></i></a>
                                            {else/}
                                                <a href="javascript:void(0)" title="" class="btn btn-default disabled"><i class="fa fa-trash-o"></i></a>
                                            {/if}
                                        </td>
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>
                        </div>
                    </form>
                    <div class="row">
                        <div class="col-sm-6 text-left"></div>
                        <div class="col-sm-6 text-right">{$page|raw}</div>
                    </div>
<script>
    // 点击分页触发的事件
    $(".pagination a").click(function(){
        url = $(this).attr('href');
        ajax_get_table('search-form2',url);
        return false;
    });
</script>